# Copyright 2005 Pascal Fleury
# Distributed under the terms of the GNU General Public License, v2 or later
# Maintainer: Pascal Fleury <fleury@users.sourceforge.net>
# $Header:$

S="${WORKDIR}/${P}.fix${PR}"
DESCRIPTION="Chopro2anything is a suite of programs that convert chopro files into a range of other formats."
SRC_URI="http://www.brian-schroeder.de/chopro2anything/releases/${PN}_${PV}.fix3.tar.gz"
HOMEPAGE="http://www.brian-schroeder.de/chopro2anything/"
LICENSE="GPL-2"
KEYWORDS="~x86"

# Build-time dependencies, such as
#	 ssl? ( >=openssl-0.9.6b )
#	 >=perl-5.6.1-r1
# It is advisable to use the >= syntax show above, to reflect what you
# had installed on your system when you tested the package.	 Then
# other users hopefully won't be caught without the right version of
# a dependency.
DEPEND=">=ruby-1.8.2"

src_unpack() {
	unpack ${PN}_${PV}.fix3.tar.gz
	mv ${PN}-${PV}.fix3 ${S}
	cd ${S}
}

src_compile() {
	emake || die
	#make || die
}

src_install () {
	make DESTDIR=${D} install || die
	#make \
	#	prefix=${D}/usr \
	#	mandir=${D}/usr/share/man \
	#	infodir=${D}/usr/share/info \
	#	install || die

	# Install documentation.
	dodoc README
}
